package com.demo.house.service;


import com.demo.house.entity.HouseSourse;
import com.demo.house.vo.RequestVo.*;
import com.demo.house.vo.response.ResponseSelectAllVo;
import com.demo.house.vo.response.ResponseSelectMySelf;

import java.awt.image.BufferedImage;
import java.util.List;

public interface HouseSourseService {

    int update (HouseSourse houseSourse);

    int delete(Integer integer);

    List<HouseUrlSourseVo> selectCaa(Integer id);

    List<ResponseSelectAllVo> selectAll();

    int insert(HouseSourse houseSourse);

    int insertSelective(HouseSourse houseSourse);

    List<ResponseSelectMySelf> selectUserId(Integer id);

    BufferedImage getImg(Integer id);
    //模糊搜索
    List<RequsetSourseVo> blurry(RequsetSourseVo requsetSourseVo);
    //随机查询多个房源
    List<RandomqueryVo> Randomquery(RandomqueryVo randomqueryVo);
    //浏览记录
    List<RequesBrowsingRecordsVo> getByids(int[] ids);

    int updateState(HouseSourse houseSourse);

    /**
     * 连表查询
     * @param id
     * @return
     */
  /*  HouseUrlSourseVo queryById(Integer id);*/



}
